<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>$info[title]|$userinfo[nicename]|{$config[cfg_webname]}</title>
<meta name="description" content="$info[keywords]">
<meta name="keywords" content="$info[description]" />
<link href="{$BASE_V}styles.css" rel="stylesheet" type="text/css" />
<script src="{$BASE_V}jquery-1.4.2.min.js" type="text/javascript"></script>
<script type="text/javascript">
jq = jQuery.noConflict();
jq(document).ready(function(){
	var obj_div = jQuery(".centerbar");
	var obj_list = jQuery(".centerbar ul");
	var obj_item = jQuery(".centerbar ul li");
	var len = obj_item.length;
	var item_wid = 108;
	var list_wid = item_wid * len;
	obj_list.css({width:list_wid});
	jQuery("a#btn_next").click(function(){
		var offsetleft = (obj_list.width() + parseInt(obj_list.css("margin-left")) > obj_div.width() ? (parseInt(obj_list.css("margin-left"))-item_wid) : 0);
		obj_list.stop(true,true).animate({marginLeft:offsetleft},300);
		return false;
	});
	jQuery("a#btn_prev").click(function(){
		var offsetleft = (obj_list.width() - parseInt(obj_list.css("margin-left")) > obj_div.height() ? (parseInt(obj_list.css("margin-left")) < 0 ? parseInt(obj_list.css("margin-left"))+item_wid : 0) : 0);
		obj_list.stop(true,true).animate({marginLeft:offsetleft},300);
		return false;
	});
	jQuery(".centerbar ul li a").css("cursor","pointer").click(function(){
		var src = jq(this).children("img").attr("src");
//		jq("#case_name").text((this).children("span").text());
		jq("#showpic a").attr("href",src);
		jq("#showpic img").attr("src",src);
		jq(".centerbar ul li img").removeClass("hover");
		jq(this).children('img').addClass("hover");
		return false;
	});
	jQuery(".centerbar ul li a").eq(0).click();
	
	

});
</script>
</head>

<body>
<!--{template inc/top}-->
  <div class="wrap">
    <!--{template inc/header}-->    
    <!--{template inc/banner}-->
    <div class="project_main">
      <h5><a href="{$config[cfg_indexurl]}">燕泰机构</a> > <a href="{PHP_SELF}?m=difang&username=$userinfo[username]">燕泰{$userinfo[nicename]}</a> > <a href="{PHP_SELF}?m=anli&username=$userinfo[username]">成功案例</a> > <a href="{PHP_SELF}?m=anli&username=$userinfo[username]&cid=$info[cat_id]">{$catinfo[cat_name]}</a> > {$info[title]}</h5>
	<div class="sidebar">
        <!--{template inc/left_lianxi_a}-->  
        <!--{template inc/left_hotel_b}-->
        <!--{template inc/left_news_d}-->    
        <!--{template inc/left_huiyi_e}-->    
    </div>
   <div class="content project_content">
    <h5><img src="{$BASE_V}images/hotel_info.jpg" /></h5>
       <H1>$info[title]</H1>
   <DIV class=author><SPAN>【<SPAN class=hui12>作者: $info[author]</SAPN>】 &nbsp;{echo date("Y-m-d",$info[time])}  </SPAN><SPAN class=add_fav style="CURSOR: hand; color:#1761A3; margin-left:5px" onClick="window.external.addFavorite('{$config[cfg_indexurl]}index.php?m=difang&username=$userinfo[username]&aid=$info[article_id]','$info[title]')" title="$info[title]"> 加入收藏</SPAN> </DIV>

    <div class="text_content">  
      <div id="showpic"><img src="{$config[cfg_indexurl]}$imgurl_array[0]" width="706" height="450"/></div>
       <div class="scorll">
         <div id="leftBtn"><a href="#" id="btn_prev"><img src="{$BASE_V}images/left_btn.jpg" /></a></div>
         <div id="center" class="centerbar">
              <ul class="centerbarul">           
              <!--{loop $imgurl_array $k $v}-->
                <li><a href="#" title="$imgtitle_array[$k]"><img src="{$config[cfg_indexurl]}$v" border="0" width="100px" height="65px"/></a></li>
              <!--{/loop}-->           
           </ul>
         </div>
         <div id="rightBtn"><a href="#" id="btn_next"><img src="{$BASE_V}images/right_btn.jpg" /></a></div>
       </div>      
      <p>$info[content]</p>
    </div>   

<div class="article_bottom">

   <input name="" onclick='copyToClipBoard()' type="button" value=" 复制本页地址，发给您QQ/MSN上的好友 " style="width:250px"> 

    <script language="javascript"> 
function copyToClipBoard(){ 
var clipBoardContent=""; 
clipBoardContent+="$info[title]"; 
clipBoardContent+="\n"; 
clipBoardContent+="index.php?m=anli.show&username=$userinfo[username]&aid=$info[article_id]";
window.clipboardData.setData("Text",clipBoardContent); 
alert("复制成功，请粘贴到你的QQ/MSN上推荐给你的好友"); 
} 
</script>
   </div>    
   </div>
  <div class="clear"></div>
<!--{template inc/footer}-->
</div>
</div>
</body>
</html>
